package com.moonshineproject.plugin.console
{
	import flash.events.Event;

	public class ConsoleOutputEvent extends Event
	{
		public static const EVENT_CONSOLE_OUTPUT:String = "consoleOutput";
		
		public var text:*;
		public var hideOtherOutput:Boolean;
		public var msgType:int;
		
		/*
			Text can be String or array of TextLineModel
		*/
		public function ConsoleOutputEvent(text:*, 
											hideOtherOutput:Boolean=false, 
											cancelable:Boolean=false)
		{
			this.text = text;
			this.hideOtherOutput = hideOtherOutput;
			super(EVENT_CONSOLE_OUTPUT, false, cancelable);
		}
	}
}